z.PHONY:all
all:cal_server 

cal_server:TcpServerMain.cc
	g++ -o $@ $^ -std=c++14 -lpthread -ljsoncpp
tcpclient:TcpClientMain.cc
	g++ -o $@ $^ -std=c++14 -lpthread

.PHONY:clean
clean:
	rm -f cal_server tcpclient